←Select platform

GetValue<T>(long,T,GetValueDelegate) Method

Summary

Returns the value of a DICOM element

Syntax
C#
VB
C++
public T GetValue<T>( 
   long tag, 
   T defaultValue, 
   GetValueDelegate getValueDelegate 
) 
Public Overloads Function GetValue(Of T)( _ 
   ByVal tag As Long, _ 
   ByVal defaultValue As T, _ 
   ByVal getValueDelegate As GetValueDelegate _ 
) As T 
public: 
T^ GetValuegeneric<typename T> 
(  
   int64 tag, 
   T^ defaultValue, 
   GetValueDelegate^ getValueDelegate 
)  

Parameters

tag
tag of the item to find.

defaultValue
a value of type T that is returned if the actual value cannot be retrieved.

getValueDelegate
an optional delegate that converts that extracted data to any type

Type Parameters

T
specifies the type of the value to return

Return Value

a value of type T that is the value of the DICOM element

Remarks

For information on this method, see GetValue.

Example

For an example, refer to GetValueDelegate.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly